		function getParam( name )
		{
		  name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
		  var regexS = "[\\?&]"+name+"=([^&#]*)";
		  var regex = new RegExp( regexS );
		  var results = regex.exec( window.location.href );
		  if( results == null )
		    return "What's on your mind?";
		  else
		    return results[1];
		}

		function initForm(oForm, element_name) {
			var txt=getParam('memo');

			addNoteToTop(txt);
			frmElement = oForm.elements[element_name];
			frmElement.value = decodeURIComponent(txt);
		}
